package homework.work5;

public class NorthPerson extends Person{
    double height;

    //行为
    @Override
    public void eat() {
        System.out.println("Northerners like to eat pasta");
    }

    public void drink(){
        System.out.println("northperson eat");
    }

    //构造器

    public NorthPerson() {
    }

    public NorthPerson(double height) {
        this.height = height;
    }
}
